<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>


	
<table width="100%" class="tbl-list martop10" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td class="td-label bold text-center" width="50">
			ID
		</td>
		<td class="td-label bold">
			Username
		</td>
		<td class="td-label bold">
			Fullname
		</td>
	</tr>
	<?php
	foreach($lstUser as $user)
	{
	?>
		<tr class="lst-item">
			<td class="pad5 text-center">
				<?php echo $user['user_id']; ?>
			</td>
			<td class="pad5">
				<a href="javascript:void(0);" onclick="search_select_user('<?php echo $user['user_id']; ?>');">
					<?php echo $user['username']; ?>
				</a>
			</td>
			<td class="pad5">
				<a href="javascript:void(0);" onclick="search_select_user('<?php echo $user['user_id']; ?>');">
					<?php echo $user['contact_name']; ?>
				</a>
			</td>
		</tr>
	<?php
	}
	?>
</table>
<?php 
if(count($lstUser) > 0)
{
?>
	<div class="myclear">
		<div class="float-right martop10" style="background: #fff;border: solid 1px #D6D6D6; padding:3px 10px 4px;">
			<table cellpadding="0" cellspacing="0" border="0">
		        <tr>
		            <td class="ver-middle">
		                Page
		                
		                <?php echo $cPage; ?>/<?php echo $pCount; ?>
		            </td>
		            <td class="ver-middle padleft5 padtop2">
		                <?php
		                if($cPage > 1)
		         		{
		      			?>
		      				<a href="javascript:void(0);" onclick="search_user_filter('#iptSuserSearch', '#slcSby', '#slcGroup', '#lstUser', '<?php echo ($cPage - 1); ?>', '#imgLoadingPopup', '#ajaxLoadingPopupBackground');">
		      					<img src="/images/imgpre.gif" />
		      				</a>
		         		<?php
		 				}
		 				?>
						
						<?php
						if($cPage < $pCount)
						{
						?>
							<a href="javascript:void(0);" onclick="search_user_filter('#iptSuserSearch', '#slcSby', '#slcGroup', '#lstUser', '<?php echo ($cPage + 1); ?>', '#imgLoadingPopup', '#ajaxLoadingPopupBackground');">
								<img src="/images/imgnext.gif" />
							</a>
						<?php
						}
						?>
		            </td>
		        </tr>
		    </table>
		</div>
	</div>
<?php
}
?>

<br />